Optimal. Leaf size=454 \[ \frac{\sqrt{\sqrt{4 a c+b^2}+b} \sqrt{1-\frac{2 c x^2}{b-\sqrt{4 a c+b^2}}} \sqrt{1-\frac{2 c x^2}{\sqrt{4 a c+b^2}+b}} \left (c e \left (-3 d \sqrt{4 a c+b^2}+a e+3 b d\right )+b e^2 \left (b-\sqrt{4 a c+b^2}\right )+3 c^2 d^2\right ) \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{4 a c+b^2}+b}}\right ),\frac{\sqrt{4 a c+b^2}+b}{b-\sqrt{4 a c+b^2}}\right )}{3 \sqrt{2} c^{5/2} \sqrt{a+b x^2-c x^4}}-\frac{e \left (b-\sqrt{4 a c+b^2}\right ) \sqrt{\sqrt{4 a c+b^2}+b} \sqrt{1-\frac{2 c x^2}{b-\sqrt{4 a c+b^2}}} \sqrt{1-\frac{2 c x^2}{\sqrt{4 a c+b^2}+b}} (b e+3 c d) E\left (\sin ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2+4 a c}}}\right )|\frac{b+\sqrt{b^2+4 a c}}{b-\sqrt{b^2+4 a c}}\right )}{3 \sqrt{2} c^{5/2} \sqrt{a+b x^2-c x^4}}-\frac{e^2 x \sqrt{a+b x^2-c x^4}}{3 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.793513, antiderivative size = 454, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185, Rules used = {1206, 1202, 524, 424, 419} \[ \frac{\sqrt{\sqrt{4 a c+b^2}+b} \sqrt{1-\frac{2 c x^2}{b-\sqrt{4 a c+b^2}}} \sqrt{1-\frac{2 c x^2}{\sqrt{4 a c+b^2}+b}} \left (c e \left (-3 d \sqrt{4 a c+b^2}+a e+3 b d\right )+b e^2 \left (b-\sqrt{4 a c+b^2}\right )+3 c^2 d^2\right ) F\left (\sin ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2+4 a c}}}\right )|\frac{b+\sqrt{b^2+4 a c}}{b-\sqrt{b^2+4 a c}}\right )}{3 \sqrt{2} c^{5/2} \sqrt{a+b x^2-c x^4}}-\frac{e \left (b-\sqrt{4 a c+b^2}\right ) \sqrt{\sqrt{4 a c+b^2}+b} \sqrt{1-\frac{2 c x^2}{b-\sqrt{4 a c+b^2}}} \sqrt{1-\frac{2 c x^2}{\sqrt{4 a c+b^2}+b}} (b e+3 c d) E\left (\sin ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2+4 a c}}}\right )|\frac{b+\sqrt{b^2+4 a c}}{b-\sqrt{b^2+4 a c}}\right )}{3 \sqrt{2} c^{5/2} \sqrt{a+b x^2-c x^4}}-\frac{e^2 x \sqrt{a+b x^2-c x^4}}{3 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1206
Rule 1202
Rule 524
Rule 424
Rule 419
Rubi steps
\begin{align*} \int \frac{\left (d+e x^2\right )^2}{\sqrt{a+b x^2-c x^4}} \, dx &=-\frac{e^2 x \sqrt{a+b x^2-c x^4}}{3 c}-\frac{\int \frac{-3 c d^2-a e^2-2 e (3 c d+b e) x^2}{\sqrt{a+b x^2-c x^4}} \, dx}{3 c}\\ &=-\frac{e^2 x \sqrt{a+b x^2-c x^4}}{3 c}-\frac{\left (\sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}} \sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}}\right ) \int \frac{-3 c d^2-a e^2-2 e (3 c d+b e) x^2}{\sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}} \sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}}} \, dx}{3 c \sqrt{a+b x^2-c x^4}}\\ &=-\frac{e^2 x \sqrt{a+b x^2-c x^4}}{3 c}-\frac{\left (\left (b-\sqrt{b^2+4 a c}\right ) e (3 c d+b e) \sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}} \sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}}\right ) \int \frac{\sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}}}{\sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}}} \, dx}{3 c^2 \sqrt{a+b x^2-c x^4}}+\frac{\left (\left (b-\sqrt{b^2+4 a c}\right ) \left (2 e (3 c d+b e)-\frac{2 c \left (-3 c d^2-a e^2\right )}{b-\sqrt{b^2+4 a c}}\right ) \sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}} \sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}}\right ) \int \frac{1}{\sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}} \sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}}} \, dx}{6 c^2 \sqrt{a+b x^2-c x^4}}\\ &=-\frac{e^2 x \sqrt{a+b x^2-c x^4}}{3 c}-\frac{\left (b-\sqrt{b^2+4 a c}\right ) \sqrt{b+\sqrt{b^2+4 a c}} e (3 c d+b e) \sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}} \sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}} E\left (\sin ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2+4 a c}}}\right )|\frac{b+\sqrt{b^2+4 a c}}{b-\sqrt{b^2+4 a c}}\right )}{3 \sqrt{2} c^{5/2} \sqrt{a+b x^2-c x^4}}+\frac{\sqrt{b+\sqrt{b^2+4 a c}} \left (3 c^2 d^2+b \left (b-\sqrt{b^2+4 a c}\right ) e^2+c e \left (3 b d-3 \sqrt{b^2+4 a c} d+a e\right )\right ) \sqrt{1-\frac{2 c x^2}{b-\sqrt{b^2+4 a c}}} \sqrt{1-\frac{2 c x^2}{b+\sqrt{b^2+4 a c}}} F\left (\sin ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2+4 a c}}}\right )|\frac{b+\sqrt{b^2+4 a c}}{b-\sqrt{b^2+4 a c}}\right )}{3 \sqrt{2} c^{5/2} \sqrt{a+b x^2-c x^4}}\\ \end{align*}
Mathematica [C] time = 1.39612, size = 503, normalized size = 1.11 \[ \frac{i \sqrt{2} \sqrt{\frac{\sqrt{4 a c+b^2}+b-2 c x^2}{\sqrt{4 a c+b^2}+b}} \sqrt{\frac{\sqrt{4 a c+b^2}-b+2 c x^2}{\sqrt{4 a c+b^2}-b}} \left (-c e \left (-3 d \sqrt{4 a c+b^2}+a e+3 b d\right )+b e^2 \left (\sqrt{4 a c+b^2}-b\right )-3 c^2 d^2\right ) \text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{2} x \sqrt{-\frac{c}{\sqrt{4 a c+b^2}+b}}\right ),\frac{\sqrt{4 a c+b^2}+b}{b-\sqrt{4 a c+b^2}}\right )-i \sqrt{2} e \left (\sqrt{4 a c+b^2}-b\right ) \sqrt{\frac{\sqrt{4 a c+b^2}+b-2 c x^2}{\sqrt{4 a c+b^2}+b}} \sqrt{\frac{\sqrt{4 a c+b^2}-b+2 c x^2}{\sqrt{4 a c+b^2}-b}} (b e+3 c d) E\left (i \sinh ^{-1}\left (\sqrt{2} \sqrt{-\frac{c}{b+\sqrt{b^2+4 a c}}} x\right )|\frac{b+\sqrt{b^2+4 a c}}{b-\sqrt{b^2+4 a c}}\right )+2 c e^2 x \sqrt{-\frac{c}{\sqrt{4 a c+b^2}+b}} \left (-a-b x^2+c x^4\right )}{6 c^2 \sqrt{-\frac{c}{\sqrt{4 a c+b^2}+b}} \sqrt{a+b x^2-c x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 761, normalized size = 1.7 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}^{2}}{\sqrt{-c x^{4} + b x^{2} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{{\left (e^{2} x^{4} + 2 \, d e x^{2} + d^{2}\right )} \sqrt{-c x^{4} + b x^{2} + a}}{c x^{4} - b x^{2} - a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (d + e x^{2}\right )^{2}}{\sqrt{a + b x^{2} - c x^{4}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}^{2}}{\sqrt{-c x^{4} + b x^{2} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]